:global {
  .rgl .data-table,
  .rgl .data-table-header,
  .rgl .data-table-body {
    width: 100%;
    overflow: auto;
    font-family: 'SourceHanSansCN-Regular';
    &::-webkit-scrollbar {
      display: none;
    }
    table {
      height: 100%;
    }
    th,
    td {
      margin-top: 6px;
      font-weight: unset;
      font-size: 14px;
      text-align: center;
      > span {
        display: block;
        width: 100%;
        border: 1px solid #afafc7;
        svg {
          vertical-align: middle;
        }
      }
    }
  }

  .rgl .data-table {
    flex: 1;
  }

  .rgl .data-table .ant-row {
    flex-wrap: nowrap;
  }

  .rgl .data-table .ant-row > .ant-col {
    align-items: center;
    justify-content: center;
    // 不加这个属性,当display:flex时， 超长div的overflow:hidden会失效
    width: 0;
    margin: 2px;
    overflow: hidden;
    line-height: 26px;
    white-space: nowrap;
    text-align: center;
    text-overflow: ellipsis;
    border: 1px solid #afafc7;
    border-radius: 2px;
  }

  .rgl .data-table .ant-row > .ant-col:first-child {
    margin-left: unset;
  }

  .rgl .data-table .ant-row > .ant-col:last-child {
    margin-right: unset;
  }

  .rgl .data-table .ant-row.title {
    margin: 20px 0 5px 0;
    background-image: linear-gradient(270deg, #b7ff79 0%, #28d06c 100%);
    border-radius: 17px 17px 0 0;
  }

  .rgl .data-table .ant-row.title > .ant-col {
    margin: unset;
    color: #fff;
    font-size: 18px;
    line-height: 32px;
    border: unset;
  }

  .rgl .data-table .ant-row > .ant-col.header {
    font-weight: bold;
  }

  .rgl .data-table .ant-row > .ant-col.left {
    justify-content: left;
    padding-left: 5px;
    text-align: left;
  }
}
